package com.topera.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class DemoData {

    @ExcelProperty(value = "学生编号",index = 0)//设置Excel表头名称
    private Integer sno;//学生编号

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;//学生姓名
}
